package com.hyt.it.ogt.data.mapper.pj;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hyt.it.ogt.data.model.entity.pj.Subject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 评卷科目表 Mapper 接口
 * </p>
 *
 * @author qiaozj
 * @since 2020-07-09
 */
public interface PjDataSubjectMapper extends BaseMapper<Subject> {

	 List<Subject> selectByProjectId(
			 @Param("projectId") String projectId);
	 
	 
	 void updateSubjectMarkStatus(
			 @Param("projectId")String projectId, 
			 @Param("subjectId")String subjectId, 
			 @Param("isFinish")Boolean isFinish);

	int updateExamNum(@Param("projectId")String projectId,
					  @Param("subjectId")String subjectId,
					  @Param("examNum")Integer examNum);


}
